package com.xbongbong.pro.payment.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @author zcp
 * @version v1.0
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class PaymentWriteOffGetDTO extends BaseDTO {
    private static final long serialVersionUID = 8735710549497237270L;
    /**
     * 业务类型
     */
    @NotNull(message = "{dto.msg.businessType.NotNull}")
    private Integer businessType;
    /**
     * 关联新建表单的业务类型
     */
    @NotNull(message = "{dto.msg.linkFormItem.linkBusinessType.NotNull}")
    private Integer linkBusinessType;

    /**
     * 应收款id
     */
    @NotNull(message = "{dto.msg.paymentWriteOffGetDTO.dataId.NotNull}")
    private Long dataId;
}
